package loan.calc.constant.dict;

import lombok.AllArgsConstructor;
import lombok.Getter;
import loan.calc.constant.dict.base.BaseDictEnum;
import loan.calc.constant.dict.base.DictEnum;

/**
 * 计算期供利息计息基础金额类型
 *
 * @author Liusuo Dong
 * @date 2020/10/10
 */
@Getter
@AllArgsConstructor
@DictEnum(value = "InsAmtByType", description = "计算期供利息计息基础金额类型")
public enum BaseAmountTypeForInstalmentInterestDictEnum implements BaseDictEnum {

    TOTAL_AMOUNT_SUM("按照贷款总额计算利息"),
    NORMAL_BALANCE("按照贷款正常余额计算利息，此为贷款余额（所有区段的余额之和），而不是分区段还款方式中该区段得余额"),
    ;

    private final String value;

    private final String description;

    BaseAmountTypeForInstalmentInterestDictEnum(String desc) {
        this.value = name();
        this.description = desc;
    }

}
